<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/templates/unlogged_php.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Đăng nhập | Studial</title>
<!-- InstanceEndEditable -->
<script type="text/javascript" language="javascript" src="../javascript/forms.js"></script>
<link rel="stylesheet" type="text/css" href="../css/global.css" />
<link rel="stylesheet" type="text/css" href="../css/forms.css" />
<style type="text/css">
	.header	{ height: 90px; }
		
	.logo {
		width: 200px;
		margin-top: 14px;
	}
	
	#logtable	{
		float: right;
		margin-top: 14px;
	}
	
	#logtable td.textcol {
		width: 155px;
		vertical-align: text-top;
		padding-top: 0;
		padding-bottom: 0;
	}
		 
	.headlabel, .sublabel { font-size: 11px; }
	
	.headlabel { color: #ffffff; }
	
	.sublabel {
		color: #96c690;
		vertical-align: top;
	}
	
	.loginput	{
		width: 140px;
		padding: 4px;
		border: 1px solid #105109;
	}
	
	.logcheck { margin-top: 0; }
</style>
<!-- InstanceBeginEditable name="head" -->
<link rel="stylesheet" type="text/css" href="../css/logcaseforms.css" />
<style type="text/css">
    #logform { display: none; }
    
    .form { padding-bottom: 2em; }
    
    #reglink,#fplink { color: #17610d; }
    
    #reglink { font-weight: bold; }
    
	.logcheck { vertical-align: text-top; }
</style>
<!-- InstanceEndEditable -->
</head>

<body>
    <div class="header">
        <div class="innercontent">
            <a href="index.php"><img alt="Studial" class="logo" src="../images/logo.jpg" /></a>
            <form id="logform" method="post" action="login.php">
                <table id="logtable">
                    <tr>
                        <td class="textcol"><label class="headlabel" for="username">Tên đăng nhập hoặc email</label></td>
                        <td class="textcol"><label class="headlabel" for="password">Mật khẩu</label></td>
                        <td class="submitcol"></td>
                    </tr>
                    <tr>
                        <td class="textcol"><input class="loginput" name="username" type="text" value="" /></td>
                        <td class="textcol"><input class="loginput" name="password" type="logpassword" value="" /></td>
                        <td class="submitcol"><button class="logbutton" name="login" type="submit" value="1">Đăng nhập</button></td>
                    </tr>
                    <tr>
                        <td class="textcol"><input class="logcheck" name="logcheck" type="checkbox" /><label class="sublabel" for="logcheck">Duy trì đăng nhập</label></td>
                        <td class="textcol"><a class="sublabel" href="identify.php">Quên mật khẩu?</a></td>
                        <td class="submitcol"></td>
                    </tr>
                </table>
            </form>
        </div>
    </div>
    <!-- InstanceBeginEditable name="maincontent" -->
        <div class="centercontainer">
            <div class="intro">
                <div class="title">Đăng nhập</div>
            </div>
            <form class="form" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">        
                <label class="leftlabel" for="username">Tên đăng nhập hoặc email:</label>
                <input class="textinput" name="username" type="text" value="" />
                <label class="leftlabel" for="username">Mật khẩu:</label>
                <input class="textinput" name="password" type="password" value="" /><br />
                <div class="subformblock">
                    <input class="logcheck" name="logcheck" type="checkbox" /><label class="rightlabel" for="logcheck">Duy trì đăng nhập</label><br />
                    <button class="logbutton" name="login" type="submit" value="1" onclick="showLoader('loader');">Đăng nhập</button>&nbsp hoặc <a id="reglink" href="register.php">Đăng ký tài khoản Studial</a><br />
                    <img alt="Loading..." class="loader" id="loader" src="../images/loader01.gif" /><br />
                    <a id="fplink" href="../unlogged/identify.php">Quên mật khẩu?</a> 
                </div>          
            </form>
        </div>
		<!-- InstanceEndEditable -->
    <div class="footer">
        	Studial @ 2012 - Nhóm 01
    </div>      
</body>
<!-- InstanceEnd --></html>
